home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _FD27BF42DABBA34BF66281CD7954F738 < prev    next >
Extensible Markup Language  |  2006-01-15  |  15KB  |  319 lines

  1. <?xml version="1.0" encoding="EUC-JP"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_proxy_balancer - Apache HTTP Ñ╡í╝Ñ╨</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p>
  16. <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a> > <a href="./">ÑΓÑ╕Ñσí╝Ñδ</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache ÑΓÑ╕Ñσí╝Ñδ mod_proxy_balancer</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_proxy_balancer.html" hreflang="en" rel="alternate" title="English"> en </a> |
  25. <a href="../ja/mod/mod_proxy_balancer.html" title="Japanese"> ja </a></p>
  26. </div>
  27. <div class="outofdate">This translation may be out of date. Check the
  28.             English version for recent changes.</div>
  29. <table class="module"><tr><th><a href="module-dict.html#Description">└Γ╠└:</a></th><td>╔Θ▓┘╩¼╗╢ñ╬ñ┐ñßñ╬ <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> │╚─Ñ</td></tr>
  30. <tr><th><a href="module-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Extension</td></tr>
  31. <tr><th><a href="module-dict.html#ModuleIdentifier">ÑΓÑ╕Ñσí╝Ñδ╝▒╩╠╗╥:</a></th><td>proxy_balancer_module</td></tr>
  32. <tr><th><a href="module-dict.html#SourceFile">Ñ╜í╝Ñ╣Ñ╒ÑíÑñÑδ:</a></th><td>proxy_balancer.c</td></tr>
  33. <tr><th><a href="module-dict.html#Compatibility">╕▀┤╣└¡:</a></th><td>2.1 ░╩╣▀</td></tr></table>
  34. <h3>│╡═╫</h3>
  35.  
  36.     <p>╦▄ÑΓÑ╕Ñσí╝Ñδñ╦ñ╧ <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ñ¼<em>╔¼═╫ñ╟ñ╣</em>íú
  37.     <code>HTTP</code>, <code>FTP</code> ñ╚ <code>AJP13</code>
  38.     Ñ╫ÑφÑ╚Ñ│Ñδñ╬Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╣╡í╟╜ñ≥╗²ñ├ñ╞ñññ▐ñ╣íú</p>
  39.  
  40.     <p>ñ╟ñ╣ñ½ñΘíó Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╣ñ≥═¡╕·ñ╦ñ╣ñδ╛∞╣τ <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code>
  41.     ñ╚ <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> ñ¼Ñ╡í╝Ñ╨ñ╦┴╚ñ▀╣■ñ▐ñ∞ñ╞
  42.     ñññ╩ñ▒ñ∞ñ╨ñññ▒ñ▐ñ╗ñ≤íú</p>
  43.  
  44.     <div class="warning"><h3>╖┘╣≡</h3>
  45.       <p><a href="mod_proxy.html#access">░┬┴┤ñ╩Ñ╡í╝Ñ╨ñ╦ñ╣ñδ</a>ñ▐ñ╟Ñ╫ÑφÑ»Ñ╖╡í╟╜ñ╧═¡╕·ñ╦ñ╖ñ╩ñññ╟ñ»ñ└ñ╡ññíú
  46.       Ñ¬í╝Ñ╫Ñ≤Ñ╫ÑφÑ¡Ñ╖Ñ╡í╝Ñ╨ñ╧ñóñ╩ñ┐╝½┐╚ñ╬Ñ═Ñ├Ñ╚Ñ∩í╝Ñ»ñ╦ñ╚ñ├ñ╞ñΓíó
  47.       ÑñÑ≤Ñ┐í╝Ñ═Ñ├Ñ╚┴┤┬╬ñ╦ñ╚ñ├ñ╞ñΓ┤φ╕▒ñ╟ñ╣íú</p>
  48.     </div>
  49. </div>
  50. <div id="quickview"><h3 class="directives">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</h3>
  51. <p>ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╦Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ñóñΩñ▐ñ╗ñ≤íú</p>
  52. <h3>Ñ╚Ñ╘Ñ├Ñ»</h3>
  53. <ul id="topics">
  54. <li><img alt="" src="../images/down.gif" /> <a href="#scheduler">Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΘñ╬ÑóÑδÑ┤ÑΩÑ║Ñα</a></li>
  55. <li><img alt="" src="../images/down.gif" /> <a href="#byrequests">Request Counting ÑóÑδÑ┤ÑΩÑ║Ñα</a></li>
  56. <li><img alt="" src="../images/down.gif" /> <a href="#bytraffic">Weighted Traffic Counting ÑóÑδÑ┤ÑΩÑ║Ñα</a></li>
  57. <li><img alt="" src="../images/down.gif" /> <a href="#enable">Ñ╨ÑΘÑ≤Ñ╡Ñ▐Ñ═í╝Ñ╕Ñπñ╬Ñ╡Ñ▌í╝Ñ╚ñ≥═¡╕·ñ╦ñ╣ñδ</a></li>
  58. </ul><h3>╗▓╛╚</h3>
  59. <ul class="seealso">
  60. <li><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code></li>
  61. </ul></div>
  62. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  63. <div class="section">
  64. <h2><a name="scheduler" id="scheduler">Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΘñ╬ÑóÑδÑ┤ÑΩÑ║Ñα</a></h2>
  65.     
  66.     <p>╕╜╗■┼└ñ╟ñ╧ 2 ╝∩╬αñ╬Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡Ñ╣Ñ▒Ñ╕Ñσí╝ÑΘÑóÑδÑ┤ÑΩÑ║Ñαñ½ñΘ┴¬ñ┘ñ▐ñ╣íú
  67.     ÑΩѻѿÑ╣Ñ╚▓≤┐⌠ñ╦ñΦñδñΓñ╬ <span class="transnote">(<em>╠⌡├φ:</em> Request Counting)</span>
  68.     ñ╚íóÑ╚ÑΘÑ╒ÑúÑ├Ñ»╬╠ñ╦ñΦñδñΓñ╬ <span class="transnote">(<em>╠⌡├φ:</em> Weighted Traffic Counting)</span>
  69.     ñ¼ñóñΩñ▐ñ╣íúÑ╨ÑΘÑ≤Ñ╡ñ╬└▀─Ω <code>lbmethod</code> ├═ñ╟íóñ╔ñ┴ñΘñ≥╗╚ñªñ½╗╪─Ωñ╖ñ▐ñ╣íú
  70.     ╛▄║┘ñ╧ <code class="directive"><a href="../mod/mod_proxy.html#proxy">Proxy</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥
  71.     ╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú</p>
  72.  
  73. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  74. <div class="section">
  75. <h2><a name="byrequests" id="byrequests">Request Counting ÑóÑδÑ┤ÑΩÑ║Ñα</a></h2>
  76.     
  77.     <p><code>lbmethod=byrequests</code> ñ╟═¡╕·ñ╦ñ╩ñΩñ▐ñ╣íú
  78.     ñ│ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΘñ╬╟╪╖╩ñ╦ñóñδ╣═ñ¿╩²ñ╧íó══í╣ñ╩Ñ∩í╝ѽí╝ñ¼ñ╜ñ∞ñ╛ñ∞íó
  79.     └▀─Ωñ╡ñ∞ñ╞ñññδ╩¼├┤ÑΩѻѿÑ╣Ñ╚┐⌠ñ≥ñ¡ñ┴ñ≤ñ╚╝⌡ñ▒╝Φñ∞ñδñΦñªñ╦íó
  80.     ÑΩѻѿÑ╣Ñ╚ñ≥░╖ñªñ╚ñññª╣═ñ¿╩²ñ╟ñ╣íú╝íñ╬ñΦñªñ╦╞░║εñ╖ñ▐ñ╣:</p>
  81.  
  82.     <p><dfn>lbfactor</dfn> ñ╧íó<em>ñ╔ñ╬─°┼┘Ñ∩í╝ѽí╝ñ╦╗┼╗÷ñ≥┐╢ñδñ½</em>
  83.     ñ─ñ▐ñΩ<em>Ñ∩í╝ѽí╝ñ╬ѻѬí╝Ñ┐</em>ñ≥╗╪ñ╖ñ▐ñ╣íúñ│ñ╬├═ñ╧ "╩¼├┤" 
  84.     ╬╠ñ≥╔╜ñ╣└╡╡¼▓╜ñ╡ñ∞ñ┐├═ñ╟ñ╣íú</p>
  85.  
  86.     <p><dfn>lbstatus</dfn> ñ╧íó<em>Ñ∩í╝ѽí╝ñ╬ѻѬí╝Ñ┐ñ≥╦■ñ┐ñ╣ñ┐ñßñ╦
  87.     ñ╔ñ╬ñ░ñΘññ╡▐ñ«ñ╟╞»ñ½ñ╩ñ▒ñ∞ñ╨ñ╩ñΘñ╩ñññ½</em>ñ≥╗╪ñ╖ñ▐ñ╣íú</p>
  88.  
  89.     <p><dfn>Ñ∩í╝ѽí╝</dfn>ñ╧Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡ñ╬ÑßÑ≤Ñ╨ñ╟íó─╠╛∩ñ╧íó
  90.     Ñ╡Ñ▌í╝Ñ╚ñ╡ñ∞ñδÑ╫ÑφÑ╚Ñ│Ñδñ╬ñªñ┴ñ╬░∞ñ─ñ≥─≤╢íñ╖ñ╞ñññδÑΩÑΓí╝Ñ╚Ñ█Ñ╣Ñ╚ñ╟ñ╣íú
  91.     </p>
  92.  
  93.     <p>ñ▐ñ║╕─í╣ñ╬Ñ∩í╝ѽí╝ñ╦Ñ∩í╝ѽí╝ѻѬí╝Ñ┐ñ≥│ΣñΩ┐╢ñΩíóñ╔ñ╬Ñ∩í╝ѽí╝ñ¼║╟ñΓ╡▐ñ«ñ╟
  94.     ╞»ñ½ñ╩ñ▒ñ∞ñ╨ñ╩ñΘñ╩ñññ½ (lbstatus ñ¼║╟┬τñ╬ñΓñ╬) ñ≥─┤ñ┘ñ▐ñ╣íú
  95.     ╝íñ╦╗┼╗÷ñ≥ñ╣ñδñΦñªñ╦ñ│ñ╬Ñ∩í╝ѽí╝ñ≥┴¬┬≥ñ╖íó┴¬┬≥ñ╖ñ┐Ñ∩í╝ѽí╝ñ╬ lbstatus 
  96.     ñ≥┴┤┬╬ñ╦│ΣñΩ┐╢ñ├ñ┐ñ╓ñ≤ñ└ñ▒║╣ñ╖░·ñ¡ñ▐ñ╣íúñ╟ñ╣ñ½ñΘíólbstatus ñ╬┴φ╬╠ñ╧
  97.     ╖δ▓╠┼¬ñ╦╩╤▓╜ñ╖ñ▐ñ╗ñ≤(*)ñ╖íóÑΩѻѿÑ╣Ñ╚ñ╧┤ⁿ┬╘─╠ñΩñ╦╩¼╗╢ñ╡ñ∞ñ▐ñ╣íú</p>
  98.  
  99.     <p>ñóñδÑ∩í╝ѽí╝ñ¼╠╡╕·ñ╦ñ╩ñ├ñ╞ñΓíó┬╛ñ╬ñΓñ╬ñ╧└╡╛∩ñ╦Ñ╣Ñ▒Ñ╕Ñσí╝Ñδñ╡ñ∞┬│ñ▒ñ▐ñ╣íú
  100.     </p>
  101.  
  102.     <div class="example"><pre><code>for each worker in workers
  103.     worker lbstatus += worker lbfactor
  104.     total factor    += worker lbfactor
  105.     if worker lbstatus > candidate lbstatus
  106.         candidate = worker
  107.  
  108. candidate lbstatus -= total factor</code></pre></div>
  109.  
  110.     <p>Ñ╨ÑΘÑ≤Ñ╡ñ≥╝íñ╬ñΦñªñ╦└▀─Ωñ╖ñ┐╛∞╣τ:</p>
  111.     
  112.     <table><tr><th>worker</th>
  113.         <th class="data">a</th>
  114.         <th class="data">b</th>
  115.         <th class="data">c</th>
  116.         <th class="data">d</th></tr>
  117. <tr><th>lbfactor</th>
  118.         <td class="data">25</td>
  119.         <td class="data">25</td>
  120.         <td class="data">25</td>
  121.         <td class="data">25</td></tr>
  122. <tr><th>lbstatus</th>
  123.         <td class="data">0</td>
  124.         <td class="data">0</td>
  125.         <td class="data">0</td>
  126.         <td class="data">0</td></tr>
  127. </table>
  128.  
  129.     <p>ñ╜ñ╖ñ╞ <var>b</var> ñ¼╠╡╕·ñ╦ñ╩ñ├ñ┐╛∞╣τíó╝íñ╬ñΦñªñ╩Ñ╣Ñ▒Ñ╕Ñσí╝Ñδñ¼
  130.     ╣╘ñ∩ñ∞ñ▐ñ╣íú</p>
  131.  
  132.     <table><tr><th>worker</th>
  133.         <th class="data">a</th>
  134.         <th class="data">b</th>
  135.         <th class="data">c</th>
  136.         <th class="data">d</th></tr>
  137. <tr><th>lbstatus</th>
  138.         <td class="data"><em>-50</em></td>
  139.         <td class="data">0</td>
  140.         <td class="data">25</td>
  141.         <td class="data">25</td></tr>
  142. <tr><th>lbstatus</th>
  143.         <td class="data">-25</td>
  144.         <td class="data">0</td>
  145.         <td class="data"><em>-25</em></td>
  146.         <td class="data">50</td></tr>
  147. <tr><th>lbstatus</th>
  148.         <td class="data">0</td>
  149.         <td class="data">0</td>
  150.         <td class="data">0</td>
  151.         <td class="data"><em>0</em></td></tr>
  152. <tr><td class="data" colspan="5">(repeat)</td></tr>
  153. </table>
  154.  
  155.     <p>ñ─ñ▐ñΩñ│ñ╬ñΦñªñ╦Ñ╣Ñ▒Ñ╕Ñσí╝Ñδñ╡ñ∞ñ▐ñ╣: <var>a</var> <var>c</var>
  156.     <var>d</var> <var>a</var> <var>c</var> <var>d</var> <var>a</var>
  157.     <var>c</var> <var>d</var> ... ╝íñ╬┼└ñ╦├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññ:</p>
  158.  
  159.     <table><tr><th>worker</th>
  160.         <th class="data">a</th>
  161.         <th class="data">b</th>
  162.         <th class="data">c</th>
  163.         <th class="data">d</th></tr>
  164. <tr><th>lbfactor</th>
  165.         <td class="data">25</td>
  166.         <td class="data">25</td>
  167.         <td class="data">25</td>
  168.         <td class="data">25</td></tr>
  169. </table>
  170.  
  171.     <p>ñ│ñ╬╡≤╞░ñ╧íó╝íñ╬└▀─Ωñ╚┴┤ñ»╞▒ñ╕ñ╦ñ╩ñΩñ▐ñ╣:</p>
  172.  
  173.     <table><tr><th>worker</th>
  174.         <th class="data">a</th>
  175.         <th class="data">b</th>
  176.         <th class="data">c</th>
  177.         <th class="data">d</th></tr>
  178. <tr><th>lbfactor</th>
  179.         <td class="data">1</td>
  180.         <td class="data">1</td>
  181.         <td class="data">1</td>
  182.         <td class="data">1</td></tr>
  183. </table>
  184.  
  185.     <p>This is because all values of <dfn>lbfactor</dfn> are normalized
  186.     with respect to the others. For:</p>
  187.     <p><dfn>lbfactor</dfn> ñ╧┴┤ñ╞└╡╡¼▓╜ñ╡ñ∞ñ┐ñΓñ╬ñ╟íó
  188.     ┬╛ñ╚ñ╬┴Ω┬╨├═ñ└ñ½ñΘñ╟ñ╣íú╝íñ╬└▀─Ωñ╟ñ╧:</p>
  189.  
  190.     <table><tr><th>worker</th>
  191.         <th class="data">a</th>
  192.         <th class="data">b</th>
  193.         <th class="data">c</th></tr>
  194. <tr><th>lbfactor</th>
  195.         <td class="data">1</td>
  196.         <td class="data">4</td>
  197.         <td class="data">1</td></tr>
  198. </table>
  199.  
  200.     <p>Ñ∩í╝ѽí╝ <var>b</var> ñ╧íó╩┐╢╤ñ╖ñ╞íó<var>a</var> ñ╚ <var>c</var>
  201.     ñ╬ 4 ╟▄ñ╬┐⌠ñ╬ÑΩѻѿÑ╣Ñ╚ñ≥╝⌡ñ▒╗²ñ─ñ│ñ╚ñ╦ñ╩ñΩñ▐ñ╣íú</p>
  202.  
  203.     <p>╝íñ╬ñΦñªñ╩╚≤┬╨╛╬ñ╩└▀─Ωñ╟ñ╧íóñ│ñªñ╩ñδñ╚═╜┴█ñ╡ñ∞ñδñ╟ñ╖ñτñª:</p>
  204.  
  205.     <table><tr><th>worker</th>
  206.         <th class="data">a</th>
  207.         <th class="data">b</th></tr>
  208. <tr><th>lbfactor</th>
  209.         <td class="data">70</td>
  210.         <td class="data">30</td></tr>
  211. <tr><td class="data" colspan="2"> </td></tr>
  212. <tr><th>lbstatus</th>
  213.         <td class="data"><em>-30</em></td>
  214.         <td class="data">30</td></tr>
  215. <tr><th>lbstatus</th>
  216.         <td class="data">40</td>
  217.         <td class="data"><em>-40</em></td></tr>
  218. <tr><th>lbstatus</th>
  219.         <td class="data"><em>10</em></td>
  220.         <td class="data">-10</td></tr>
  221. <tr><th>lbstatus</th>
  222.         <td class="data"><em>-20</em></td>
  223.         <td class="data">20</td></tr>
  224. <tr><th>lbstatus</th>
  225.         <td class="data"><em>-50</em></td>
  226.         <td class="data">50</td></tr>
  227. <tr><th>lbstatus</th>
  228.         <td class="data">20</td>
  229.         <td class="data"><em>-20</em></td></tr>
  230. <tr><th>lbstatus</th>
  231.         <td class="data"><em>-10</em></td>
  232.         <td class="data">10</td></tr>
  233. <tr><th>lbstatus</th>
  234.         <td class="data"><em>-40</em></td>
  235.         <td class="data">40</td></tr>
  236. <tr><th>lbstatus</th>
  237.         <td class="data">30</td>
  238.         <td class="data"><em>-30</em></td></tr>
  239. <tr><th>lbstatus</th>
  240.         <td class="data"><em>0</em></td>
  241.         <td class="data">0</td></tr>
  242. <tr><td class="data" colspan="3">(repeat)</td></tr>
  243. </table>
  244.  
  245.     <p>Ñ╣Ñ▒Ñ╕Ñσí╝Ñδñ╧ 10 Ñ╣Ñ▒Ñ╕Ñσí╝Ñδ╕σñ╦╖½ñΩ╩╓ñ╡ñ∞íó<var>a</var> 7 ▓≤ñ╚
  246.     <var>b</var> 3 ▓≤ñ╟ñ▐ñ╨ñΘñ╦┴¬ñ╨ñ∞ñ▐ñ╣íú</p>
  247. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  248. <div class="section">
  249. <h2><a name="bytraffic" id="bytraffic">Weighted Traffic Counting ÑóÑδÑ┤ÑΩÑ║Ñα</a></h2>
  250.     
  251.     <p><code>lbmethod=bytraffic</code> ñ╟═¡╕·ñ╦ñ╩ñΩñ▐ñ╣íú
  252.     ñ│ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΘñ╬╟╪╖╩ñ╦ñóñδ╣═ñ¿╩²ñ╧íóRequest Counting 
  253.     ñ╚╚≤╛∩ñ╦╗≈ñ╞ñññ▐ñ╣ñ¼íó╝íñ╬░πñññ¼ñóñΩñ▐ñ╣:</p>
  254.  
  255.     <p><dfn>lbfactor</dfn> ñ╧ <em>ñ╔ñ∞ñ└ñ▒ñ╬Ñ╨ÑñÑ╚┐⌠ñ╬Ñ╚ÑΘÑ╒ÑúÑ├Ñ»╬╠ñ≥íó
  256.     ñ│ñ╬Ñ∩í╝ѽí╝ñ╦╜Φ═²ñ╖ñ╞ñΓñΘñññ┐ñññ½</em> ñ≥╔╜ñ╖ñ▐ñ╣íú
  257.     ñ│ñ╬├═ñΓ╞▒══ñ╦└╡╡¼▓╜ñ╡ñ∞ñ┐├═ñ╟íóÑ∩í╝ѽí╝┴┤┬╬ñ╬ñªñ┴ñ╟ñ╬ "╩¼├┤"
  258.     ╬╠ñ≥╔╜╕╜ñ╖ñ╞ñññ▐ñ╣íúÑΩѻѿÑ╣Ñ╚┐⌠ñ≥├▒╜πñ╦┐⌠ñ¿ñδ┬σñ∩ñΩñ╦íó
  259.     ñ╔ñ∞ñ└ñ▒ñ╬┼╛┴≈╬╠ñ≥╜Φ═²ñ╖ñ┐ñ½ñ≥┐⌠ñ¿ñ▐ñ╣íú</p>
  260.  
  261.     <p>╝íñ╬ñΦñªñ╦Ñ╨ÑΘÑ≤Ñ╡ñ≥└▀─Ωñ╖ñ┐╛∞╣τ:</p>
  262.     
  263.     <table><tr><th>worker</th>
  264.         <th class="data">a</th>
  265.         <th class="data">b</th>
  266.         <th class="data">c</th></tr>
  267. <tr><th>lbfactor</th>
  268.         <td class="data">1</td>
  269.         <td class="data">2</td>
  270.         <td class="data">1</td></tr>
  271. </table>
  272.  
  273.     <p><var>b</var> ñ╦ñ╧ <var>a</var> ñΣ <var>c</var> ñ╬ 2 ╟▄
  274.     ╜Φ═²ñ╖ñ╞ñ█ñ╖ñññ╚ñññªñ│ñ╚ñ╦ñ╩ñΩñ▐ñ╣íú
  275.     <var>b</var> ñ╧ 2 ╟▄ñ╬ I/O ñ≥╜Φ═²ñ╣ñδñ╚ñññª░╒╠úñ╦ñ╩ñΩíó
  276.     2 ╟▄ñ╬ÑΩѻѿÑ╣Ñ╚┐⌠ñ≥╜Φ═²ñ╣ñδñ╚ñññªñ│ñ╚ñ╦ñ╧ñ╩ñΩñ▐ñ╗ñ≤íú
  277.     ñ╟ñ╣ñ½ñΘÑΩѻѿÑ╣Ñ╚ñ╚Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣ñ╬Ñ╡ÑñÑ║ñ¼íó
  278.     ╜┼ñ▀╔╒ñ▒ñ╚┐╢ñΩ╩¼ñ▒ñ╬ÑóÑδÑ┤ÑΩÑ║Ñαñ╦╕·ñññ╞ñññ▐ñ╣íú</p>
  279.  
  280. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  281. <div class="section">
  282. <h2><a name="enable" id="enable">Ñ╨ÑΘÑ≤Ñ╡Ñ▐Ñ═í╝Ñ╕Ñπñ╬Ñ╡Ñ▌í╝Ñ╚ñ≥═¡╕·ñ╦ñ╣ñδ</a></h2>
  283.     
  284.     <p>ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╧ <code class="module"><a href="../mod/mod_status.html">mod_status</a></code> ñ╬Ñ╡í╝Ñ╙Ñ╣ñ≥
  285.     <em>╔¼═╫ñ╚ñ╖ñ▐ñ╣</em>íú
  286.     Ñ╨ÑΘÑ≤Ñ╡Ñ▐Ñ═í╝Ñ╕Ñπñ≥╗╚ñªñ╚íóÑ╨ÑΘÑ≤Ñ╡ñ╬ÑßÑ≤Ñ╨í╝ñ╬╞░┼¬ñ╩╣╣┐╖ñ¼
  287.     ñ╟ñ¡ñ▐ñ╣íúÑ╨ÑΘÑ≤Ñ╡Ñ▐Ñ═í╝Ñ╕Ñπñ≥╗╚ñ├ñ╞íóÑ╨ÑΘÑ≤Ñ╣╖╕┐⌠ (lbfactor)
  288.     ñ≥╩╤╣╣ñ╖ñ┐ñΩíóÑßÑ≤Ñ╨í╝ñ≥╩╤╣╣ñ╖ñ┐ñΩíó╞├─Ωñ╬ÑßÑ≤Ñ╨í╝ñ≥
  289.     Ñ¬Ñ╒ÑΘÑñÑ≤ÑΓí╝Ñ╔ñ╦ñ╖ñ┐ñΩñ╟ñ¡ñ▐ñ╣íú</p>
  290.  
  291.     <p>ñ╟ñ╣ñ½ñΘíóÑφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡┤╔═²╡í╟╜ñ≥╗╚ñññ┐ñ▒ñ∞ñ╨íó
  292.     <code class="module"><a href="../mod/mod_status.html">mod_status</a></code> ñ╚ <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code>
  293.     ñ≥Ñ╡í╝Ñ╨ñ╦┴╚ñ▀╣■ñ▐ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú</p>
  294.  
  295.     <p>foo.com Ñ╔ÑßÑñÑ≤ñ╬Ñ╓ÑΘѪÑ╢ñ½ñΘÑφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡┤╔═²╡í╟╜ñ≥
  296.     ╗╚ñ¿ñδñΦñªñ╦ñ╣ñδñ╦ñ╧íó╝íñ╬ñΦñªñ╩Ñ│í╝Ñ╔ñ≥ <code>httpd.conf</code>
  297.     ñ╦─╔▓├ñ╖ñ▐ñ╣íú</p>
  298. <div class="example"><p><code>
  299.     <Location /balancer-manager><br />
  300.     SetHandler balancer-manager<br />
  301. <br />
  302.     Order Deny,Allow<br />
  303.     Deny from all<br />
  304.     Allow from .foo.com<br />
  305.     </Location>
  306. </code></p></div>
  307.  
  308.     <p>ñ│ñªñ╣ñδñ╚íó<code>http://your.server.name/balancer-manager</code>
  309.     ñ╬Ñ┌í╝Ñ╕╖╨═│ñ╟íóѪѺÑ╓Ñ╓ÑΘѪÑ╢ñ½ñΘÑφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╡Ñ▐Ñ═í╝Ñ╕Ñπñ╦
  310.     ÑóÑ»Ñ╗Ñ╣ñ╟ñ¡ñδñΦñªñ╦ñ╩ñΩñ▐ñ╣íú</p>
  311. </div>
  312. </div>
  313. <div class="bottomlang">
  314. <p><span>Available Languages: </span><a href="../en/mod/mod_proxy_balancer.html" hreflang="en" rel="alternate" title="English"> en </a> |
  315. <a href="../ja/mod/mod_proxy_balancer.html" title="Japanese"> ja </a></p>
  316. </div><div id="footer">
  317. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  318. <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div>
  319. </body></html>